# coding=utf-8
__author__ = 'liubin'

from datetime import timedelta

HOST = '0.0.0.0'
PORT = 8888
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///smart.db'
SECRET_KEY = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'
BABEL_DEFAULT_LOCALE = 'zh'
BABEL_DEFAULT_TIMEZONE = 'Asia/Shanghai'
#分页大小
PAGE_SIZE = 8
#记住我过期
REMEMBER_COOKIE_DURATION = timedelta(days=30)
#session 过期
#PERMANENT_SESSION_LIFETIME = 0